﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace MedicalCare.Configuration
{
    public static class ConfigurationManagement
    {
        #region iConfigurationManagement Members

        public static ConnectionStringSettings GetConnectionStringSettings(string key)
        {
            ConnectionStringSettings c = ConfigurationManager.ConnectionStrings[key];
            return c;
        }

        public static string GetValue(string key)
        {
            return ConfigurationManager.AppSettings[key];
        }

        #endregion
    }
}
